package com.copy.test.pojo;

import java.io.Serializable;
import java.math.BigDecimal;

public class Student implements Serializable {
    private String name;
    private String age;
    private Integer score;
    private School school;
    private Double money;
    private BigDecimal a;

    public BigDecimal getA() {
        return a;
    }

    public void setA(BigDecimal a) {
        this.a = a;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public School getSchool() {
        return school;
    }

    public void setSchool(School my) {
        this.school = my;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public Student() {
    }

    public Student(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age='" + age + '\'' +
                ", score=" + score +
                ", school=" + school +
                ", money=" + money +
                ", a=" + a +
                '}';
    }
}
